import app as APP
from app import socketio
from config import Config
import time
from flask import redirect

app = APP.create_app(Config)

@app.route('/404')
def not_found():
    return "404 not found!"

@app.route('/')
def index():
    return redirect('/index.html')

if __name__ == '__main__':
    socketio.run(app,'0.0.0.0',5000,debug=True)
    #app.run('127.0.0.1',5000,debug=True)